text: Defer most recomputation until we're mapped
authorMatthias Clasen <mclasen@redhat.com>
Sun, 23 Aug 2020 19:09:45 +0000 (15:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 23 Aug 2020 21:41:13 +0000 (17:41 -0400)
commitc0191c722570daf03fe7e89ce70ca7b7423f11a4
tree6fce3e316ad52af32f4c1425015b167ebc2b5232
parentd5114cc18da7ff1083ce2e7dfdee7bf3a4f146be
text: Defer most recomputation until we're mapped

It doesn't make sense to update scroll positions or
im cursor locations while we're unmapped, and doing
so causes us to do expensive text measuring.
gtk/gtktext.c